package com.ruipeng.shengyapo.service.impl;

import com.ruipeng.shengyapo.dao.AuthMapper;
import com.ruipeng.shengyapo.model.UserInfo;
import com.ruipeng.shengyapo.service.AuthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by tu_pei on 17/5/27.
 */

@Service
public class AuthServiceImpl implements AuthService {

    @Autowired
    private AuthMapper authMapper;

    @Override
    public int userRegister(String userTel,String phoneCode) {
        return authMapper.userRegister(userTel,phoneCode);
    }
}
